<?php /* Smarty version Smarty-3.0.7, created on 2011-08-26 17:52:00
         compiled from "modules/partners/partners.tpl" */ ?>
<?php /*%%SmartyHeaderCode:17716495054e57c120c24223-47355233%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '830b02533d5b0fc8dc5294f9cb077a34fd558bf9' => 
    array (
      0 => 'modules/partners/partners.tpl',
      1 => 1314373739,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '17716495054e57c120c24223-47355233',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<body id="iframe_body">
<div id="modal" style="display:none; position:absolute; background-color:black; opacity:.3; filter:alpha(opacity=30); left:0px; top:0px; width:100%; height:100%;z-index:1"></div>
<div id="iframe_content">
	<!--div class="pagetitle textcenter"><span class="pagetitle"><?php echo $_smarty_tpl->getVariable('title')->value;?>
</span></div-->
	<?php echo $_smarty_tpl->getVariable('partnerfilter')->value;?>

	<div class="form_body">
		<div class="textcenter filtertitle">New partner</div>
			<div class="textcenter">
				<?php  $_smarty_tpl->tpl_vars['pt'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('partnertypes')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['pt']->key => $_smarty_tpl->tpl_vars['pt']->value){
?>
					<input type="button" value="<?php echo $_smarty_tpl->tpl_vars['pt']->value['name'];?>
" onclick="partnerrel_btngrid.hide();partnerrelform.hide();partnerform.show({rowid : -1, partnertype : '<?php echo $_smarty_tpl->tpl_vars['pt']->value['partnertype'];?>
', tabletype : '<?php echo $_smarty_tpl->tpl_vars['pt']->value['tabletype'];?>
'})"/>
				<?php }} ?>
			</div>
	</div>
	<?php echo $_smarty_tpl->getVariable('partnerform')->value;?>

	<?php echo $_smarty_tpl->getVariable('partnerrel')->value;?>

	<?php echo $_smarty_tpl->getVariable('partnerrelform')->value;?>

	<?php echo $_smarty_tpl->getVariable('partnerrelfilter')->value;?>

</div>
<script>
	partnerform.hide();
	partnerrelform.hide();
	partnerrel_btngrid.hide();
	partnerrelfilter_filter.hide();
	setContentframeHeight($("iframe_body").clientHeight);	
</script>
</body>
